package com.monitor.util;

public interface Constant {
	/**
	 * 固定常量
	 */
	public static final int COMMON_FLAG_0 = 0;
	public static final int COMMON_FLAG_1 = 1;
	public static final int COMMON_FLAG_2 = 2;
	public static final int COMMON_FLAG_3 = 3;
	public static final int COMMON_FLAG_4 = 4;
	public static final int COMMON_FLAG_5 = 5;
	public static final int COMMON_FLAG_6 = 6;
	public static final int COMMON_FLAG_7 = 7;
	public static final int COMMON_FLAG_8 = 8;
	public static final int COMMON_FLAG_9 = 9;
	public static final int COMMON_FLAG_10 = 10;
	public static final int COMMON_FLAG_11 = 11;
	public static final int COMMON_FLAG_12 = 12;
	public static final int COMMON_FLAG_13 = 13;
	public static final int COMMON_FLAG_14 = 14;
	public static final int COMMON_FLAG_15 = 15;
	public static final int COMMON_FLAG_16 = 16;
	public static final int COMMON_FLAG_17 = 17;
	public static final int COMMON_FLAG_18 = 18;
	
    public static final int NOT_DELETE = 0;// 未删
    public static final int DELETE = 1;// 删除
    
    public static final int YES = 1;// 是
    public static final int NO = 2;// 不是
    
    public static final int ACTIVATE = 1;// 启用
    public static final int FORBID = 2;// 停用

    /**
     * 管理员名称
     */
    public static final String ADMIN_NAME="管理员";
    /**
     * 系统分类
     */
    interface SYSTEM_TYPE {
        public static final int monitor = 1;// 网警侧
        public static final int OPERATION = 2;// 运营使用单位侧
        public static final int ORGANIZATION = 3;// 测评机构侧
        public static final int FACILITATOR = 4;// 服务商侧
        public static final int ADMIN = 5;// 后台运维侧
        public static final int CURRENT_SYSTEM_TYPE = 1;// 网警侧
    }

    /**
     * 附件分类
     */
    interface FILE_TYPE {
        public static final int TASK = 1;// 任务文档
        public static final int FLOW = 2;// 流程文档
        public static final int COMMON = 3;// 公共文档
        public static final int PERSON = 4;// 个人文档
        public static final int SCHEDULE = 5;// 日程
        public static final int RULES = 6;// 管理制度
    }

    /**
     * 文档用户权限
     */
    interface FOLDER_USER_PERMISSION {
        public static final int READONLY = 1;// 只读
        public static final int READWRITE = 2;// 读写
        public static final int RESPONSIBLE = 3;// 负责
    }
    
    /**
     * 消息分类
     */
    interface MESSAGE_TYPE {
        public static final int TASK = 1;// 任务待办
        public static final int FLOW = 2;// 流程待办
        public static final int EVALUATION = 3;// 测评到期提醒
    }
    
    interface USER_CHECK{
    	public static final int LOGOUT_CODE = 1001;//token超时
    	public static final String LOGOUT = "token超时";//1001
    	
    	public static final String ACCOUNT_EXIST = "用户账号已存在，请重新输入";
    	public static final String USER_ADD_ERROR = "用户插入失败";
    	public static final String USER_UPDATE_ERROR = "用户更新失败";
    	public static final String DEPT_HAVE_STAFF = "该部门下有正常员工";
    	public static final String DEPT_HAVE_STAFF_OR_SON_DEPT = "该部门下有正常员工或有子部门";
    	public static final String USER_IS_RESPONSIBLE= "此用户为部门负责人";
    	public static final String EXIST_USER = "已有此用户";
    }
    
    
    
    /**
     * 服务商注册状态码
     */
    interface PROVIDER_EXAMINE{
    	public static final int PROVIDER_EXAMINE_WAIT = 0;
    	public static final int PROVIDER_EXAMINE_OK = 1;
    	public static final int PROVIDER_EXAMINE_FALSE = 2;
    }
    /**
     * 评论对象类型
     */
    interface QUALIFIATIONS_CODE_TYPE{
    	public static final int TYPE_PROVIDER= 1;
    	public static final int TYPE_COMPANY = 2;
    }
    
    /**
     * 接口返回CODE：0=成功；1=失败
     */
    interface RESULT_CODE{
    	public static final int RESULT_CODE_SUCCESS= 0;//成功
    	public static final int RESULT_CODE_FAIL = 1;//失败
    }
    
    
    /**
     * 制度状态   0=未发布；1=已发布；2=修订中；3=已停用',
     */
    interface RULES_STATE{
    	public static final int RULES_STATE_start= 0;
    	public static final int RULES_STATE_RUN = 1;
    	public static final int RULES_STATE_DEBUG = 2;
    	public static final int RULES_STATE_STOP = 3;
    }
    
    /**
	 * 等保对象返回信息
	 */
	interface OBJECTS_RETURN_INFO {
		public static final String CODE = "10001";
		public static final String OBJECTS_CODE_EXIST = "等保对象编号已存在，请重新输入";
	}
    
	/**
	 * 等保对象：1=新建；2=补录
	 */
	interface OBJECTS_TYPE {
		public static final int OBJECTS_TYPE_1 = 1;// 新建
		public static final int OBJECTS_TYPE_2 = 2;// 补录
	}
    
    
	/**
	 * 定级状态：1=未定级；2=定级中；3=已定级；4=备案中；5=已备案
	 */
	interface OBJECTS_RANK_STATE {
		public static final int OBJECTS_RANK_STATE_1 = 1;// 未定级
		public static final int OBJECTS_RANK_STATE_2 = 2;// 定级中
		public static final int OBJECTS_RANK_STATE_3 = 3;// 已定级
		public static final int OBJECTS_RANK_STATE_4 = 4;// 备案中
		public static final int OBJECTS_RANK_STATE_5 = 5;// 已备案
	}

	/**
	 * 规划状态：1=未规划；2=规划中；3=已规划
	 */
	interface OBJECTS_PLAN_STATE {
		public static final int OBJECTS_PLAN_STATE_1 = 1;// 未规划
		public static final int OBJECTS_PLAN_STATE_2 = 2;// 规划中
		public static final int OBJECTS_PLAN_STATE_3 = 3;// 已规划
	}

	/**
	 * 实施状态：1=未实施；2=实施中；3=实施完成
	 */
	interface OBJECTS_IMPLEMEN_STATE {
		public static final int OBJECTS_IMPLEMEN_STATE_1 = 1;// 未实施
		public static final int OBJECTS_IMPLEMEN_STATE_2 = 2;// 实施中
		public static final int OBJECTS_IMPLEMEN_STATE_3 = 3;// 实施完成
	}

	/**
	 * 测评状态：1=待测评；2=测评中；3=测评完成
	 */
	interface OBJECTS_EVALUA_STATE {
		public static final int OBJECTS_EVALUA_STATE_1 = 1;// 待测评
		public static final int OBJECTS_EVALUA_STATE_2 = 2;// 测评中
		public static final int OBJECTS_EVALUA_STATE_3 = 3;// 测评完成
	}

	/**
	 * 运行状态：1=未运行；2=运行中；3=暂停运行
	 */
	interface OBJECTS_RUN_STATE {
		public static final int OBJECTS_RUN_STATE_1 = 1;// 未运行
		public static final int OBJECTS_RUN_STATE_2 = 2;// 运行中
		public static final int OBJECTS_RUN_STATE_3 = 3;// 暂停运行
	}

	/**
	 * 整改状态：1=正常运行；2=待整改；3=整改中
	 */
	interface OBJECTS_RECTIFY_STATE {
		public static final int OBJECTS_RECTIFY_STATE_1 = 1;// 正常运行
		public static final int OBJECTS_RECTIFY_STATE_2 = 2;// 待整改
		public static final int OBJECTS_RECTIFY_STATE_3 = 3;// 整改中
	}

	/**
	 * 终止状态：1=已终止
	 */
	interface OBJECTS_STOP_STATE {
		public static final int OBJECTS_STOP_STATE_1 = 1;// 已终止
	}
    
	/**
	 * 文件上传返回信息
	 */
	interface FILE_UPLOAD_CODE {
		public static final String FILE_UPLOAD_SUCCESS = "上传成功";
		public static final String FILE_UPLOAD_FAIL = "上传失败";
	}
	
	/**
	 * 文件信息
	 */
	interface FILE_INFO {
		public static final String INSERT_FALSE = "文档文件夹关联表插入失败";
	}
	
	/**
	 * 文件夹信息
	 */
	interface FOLDER_INFO {
		public static final String EXIST_REPEAT_FLODER_NAME = "存在重复文件夹名称";
		public static final String INSERT_FALSE = "插入失败";
		public static final String USER_ALREADY_EXIST = "用户已存在";
		public static final String FILE_UNDER_FOLDER = "文件夹下存在文件，不可删除！";
		public static final String DELETE_FALSE = "删除失败！";
	}
	
	/**
	 * 计划信息
	 */
	interface PLAN_INFO {
		public static final String SAMR_MONTH_EXISTING_PLAN = "当月已存在计划";
	}
	
	/**
	 * 角色权限信息
	 */
	interface PERMISSION_ROLE_INFO {
		public static final String ROLE_INFO_UPDATE_FALSE = "角色信息更新失败";
		public static final String ROLE_PERMISSION_DELETE_FALSE = "角色权限删除失败";
		public static final String ROLE_INSERT_UPDATE_FALSE = "角色添加更新失败";
		public static final String INSERT_FALSE_USER_EXIST_ROLE = "添加失败,该用户已有角色";
		public static final String INSERT_FALSE = "添加失败";
		public static final String ROLE_USER_ALREADY_EXIST = "该角色下有用户存在";
		public static final String DELETE_FALSE = "删除失败";
		public static final String DELETE_ROLE_PERMISSION_FALSE = "删除角色权限失败";
		public static final String UPDATE_FALSE = "更新失败";
	}
	
	/**
	 * 管理制度信息
	 */
	interface RULES_INFO {
		public static final String INSERT_SUCCESS = "添加成功";
	}
	
	/**
	 * 日程信息
	 */
	interface SCHEDULE_INFO {
		public static final String SCHEDULE_INFO_1 = "第";
		public static final String SCHEDULE_INFO_2 = "周";
	}

    /**
     * 计划类型  计划类型：1=周计划；2=月计划；3=自定义计划
     */
    interface PLAN_TYPE {
        public static final int PLAN_WEEK  = 1;
        public static final int PLAN_MONTH  = 2;
        public static final int PLAN_CUSTOM  = 3;
    }
    /**
     * 计划是否是最新版本1是2不是
     */
    interface PLAN_NEWEST {
        public static final int PLAN_NEWEST_YES  = 1;
        public static final int PLAN_NEWEST_NO  = 2;
    }

    /**
     * 流程分类
     */
    interface FLOW_TYPE {
        public static final int FLOW  = 1;    //流程
        public static final int FLOW_MODEL  = 2;   //流程模板
    }
}
